package edu.hrbu.mapper;

import edu.hrbu.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {
    Role getRoleByRoleId(@Param("roleId") int roleId);

    List<Role> getRoleList();

    List<Role> getRoleAndCount();
}
